package com.anti.commom.core.utils;

/**
 * @Description TODO
 * @Author anTi
 * @Date 2020-10-6
 */
public class ClassUtils extends org.apache.commons.lang3.ClassUtils {
    public ClassUtils() {
    }

    public static <T> T getInstance(Class<T> clazz) {
        Object t = null;

        try {
            t = clazz.newInstance();
        } catch (InstantiationException var3) {
            var3.printStackTrace();
        } catch (IllegalAccessException var4) {
            var4.printStackTrace();
        }

        return (T) t;
    }
}
